/**
 *Copyright (c) 2024 watereyes
 * safetymanagement is licensed under Mulan PubL v2.
 * You can use this software according to the terms and conditions of the Mulan
 * PubL v2.
 * You may obtain a copy of Mulan PubL v2 at:
 *          http://license.coscl.org.cn/MulanPubL-2.0
 * THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
 * EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
 * MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
 * See the Mulan PubL v2 for more details.
 */
package com.koron.hiddendanger.bean;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.koron.common.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

@ApiModel(value = "隐患整改通知书", description = "隐患整改通知书实体类")
public class HiddenDangerRectificationNotice extends BaseEntity {

    @ApiModelProperty(value = "隐患整改通知书编号", name = "noticeCode", required = true)
    private String noticeCode;

    @ApiModelProperty(value = "corpCode", name = "corpCode", required = true)
    private String corpCode;

    @ApiModelProperty(value = "corpName", name = "corpName", required = true)
    private String corpName;

    @ApiModelProperty(value = "检查单位", name = "checkUnit", required = true)
    private String checkUnit;

    @ApiModelProperty(value = "检查单位", name = "checkUnitName", required = true)
    private String checkUnitName;

    @ApiModelProperty(value = "最后整改期限", name = "rectificationPeriod", required = true)
    private String rectificationPeriod;

    @ApiModelProperty(value = "下发通知时间", name = "checkDate", required = true)
    @JsonFormat(pattern = "yyyy年MM月dd日", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy年MM月dd日")
    private Date noticeTime;

    @ApiModelProperty(value = "受检单位", name = "inspectedUnit")
    private String inspectedUnit;

    @ApiModelProperty(value = "受检单位名称", name = "inspectedUnitName")
    private String inspectedUnitName;

    @ApiModelProperty(value = "检查人员code,隐患发现人", name = "inspectors", required = true)
    private String inspectors;

    @ApiModelProperty(value = "检查人员/隐患发现人名称", name = "inspectorsName")
    private String inspectorsName;

    @ApiModelProperty(value = "检查内容", name = "checkNote")
    private String checkNote;

    private List<NoticeItem>noticeList;

    public String getNoticeCode() {
        return noticeCode;
    }

    public void setNoticeCode(String noticeCode) {
        this.noticeCode = noticeCode;
    }

    public String getCorpCode() {
        return corpCode;
    }

    public void setCorpCode(String corpCode) {
        this.corpCode = corpCode;
    }

    public String getCorpName() {
        return corpName;
    }

    public void setCorpName(String corpName) {
        this.corpName = corpName;
    }

    public Date getNoticeTime() {
        return noticeTime;
    }

    public void setNoticeTime(Date noticeTime) {
        this.noticeTime = noticeTime;
    }

    public String getInspectedUnit() {
        return inspectedUnit;
    }

    public void setInspectedUnit(String inspectedUnit) {
        this.inspectedUnit = inspectedUnit;
    }

    public String getInspectedUnitName() {
        return inspectedUnitName;
    }

    public void setInspectedUnitName(String inspectedUnitName) {
        this.inspectedUnitName = inspectedUnitName;
    }

    public String getInspectors() {
        return inspectors;
    }

    public void setInspectors(String inspectors) {
        this.inspectors = inspectors;
    }

    public String getInspectorsName() {
        return inspectorsName;
    }

    public void setInspectorsName(String inspectorsName) {
        this.inspectorsName = inspectorsName;
    }

    public List<NoticeItem> getNoticeList() {
        return noticeList;
    }

    public void setNoticeList(List<NoticeItem> noticeList) {
        this.noticeList = noticeList;
    }

    public String getCheckNote() {
        return checkNote;
    }

    public void setCheckNote(String checkNote) {
        this.checkNote = checkNote;
    }

    public String getCheckUnit() {
        return checkUnit;
    }

    public void setCheckUnit(String checkUnit) {
        this.checkUnit = checkUnit;
    }

    public String getCheckUnitName() {
        return checkUnitName;
    }

    public void setCheckUnitName(String checkUnitName) {
        this.checkUnitName = checkUnitName;
    }

    public String getRectificationPeriod() {
        return rectificationPeriod;
    }

    public void setRectificationPeriod(String rectificationPeriod) {
        this.rectificationPeriod = rectificationPeriod;
    }
}
